import request from '@/utils/request'
//获取头部公告类型
export function getNoticeType() {

	const param = {}

	param.customerInfoId = 2
	return request({
		url: "/noticeTypeApp/auth/getAll/" + param.customerInfoId,
		method: 'get'
	})
}
//获取公告
export function getNotice(id="",page) {
	return request({
		url: "/noticeApp/auth/getAll/" +
			page.currentPage +
			"/" +
		page.size +"?type="+id+"&customerInfoId=2",
		method: 'post',
	
	})
}